<div class="purchaseDetails view">
<h2><?php  echo __('Purchase Detail');?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($purchaseDetail['PurchaseDetail']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Purchase'); ?></dt>
		<dd>
			<?php echo $this->Html->link($purchaseDetail['Purchase']['id'], array('controller' => 'purchases', 'action' => 'view', $purchaseDetail['Purchase']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Item'); ?></dt>
		<dd>
			<?php echo $this->Html->link($purchaseDetail['Item']['name'], array('controller' => 'items', 'action' => 'view', $purchaseDetail['Item']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Quantity'); ?></dt>
		<dd>
			<?php echo h($purchaseDetail['PurchaseDetail']['quantity']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Unit'); ?></dt>
		<dd>
			<?php echo $this->Html->link($purchaseDetail['Unit']['name'], array('controller' => 'units', 'action' => 'view', $purchaseDetail['Unit']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Price Each Unit'); ?></dt>
		<dd>
			<?php echo h($purchaseDetail['PurchaseDetail']['price_each_unit']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($purchaseDetail['PurchaseDetail']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($purchaseDetail['PurchaseDetail']['modified']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Purchase Detail'), array('action' => 'edit', $purchaseDetail['PurchaseDetail']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Purchase Detail'), array('action' => 'delete', $purchaseDetail['PurchaseDetail']['id']), null, __('Are you sure you want to delete # %s?', $purchaseDetail['PurchaseDetail']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Purchase Details'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Purchase Detail'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Purchases'), array('controller' => 'purchases', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Purchase'), array('controller' => 'purchases', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Items'), array('controller' => 'items', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Item'), array('controller' => 'items', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Units'), array('controller' => 'units', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Unit'), array('controller' => 'units', 'action' => 'add')); ?> </li>
	</ul>
</div>
